'\" t
.\"     Title: ccnsyncwatch
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\"      Date: 01/10/2014
.\"    Manual: \ \&
.\"    Source: \ \& 0.8.2
.\"  Language: English
.\"
.TH "CCNSYNCWATCH" "1" "01/10/2014" "\ \& 0\&.8\&.2" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ccnsyncwatch \- watch sync operations and report new content objects
.SH "SYNOPSIS"
.sp
\fBccnsyncwatch\fR [\fB\-h\fR] [\fB\-t\fR \fItopo\-uri\fR] [\fB\-p\fR \fIprefix\-uri\fR] [\fB\-f\fR \fIfilter\-uri\fR] [\fB\-r\fR \fIroothash\-hex\fR] [\fB\-w\fR \fItimeout\-secs\fR]
.SH "DESCRIPTION"
.sp
The \fBccnsyncwatch\fR program is for monitoring the operation of the sync agent of a repository, and the source provides an example of how to use the sync library interface\&.
.SH "OPTIONS"
.PP
\fB\-h\fR
.RS 4
Print usage information and exit\&.
.RE
.PP
\fB\-t\fR \fItopo\-uri\fR
.RS 4
Specify the CCNx URI representing the prefix under which Sync agents communicate\&.
.RE
.PP
\fB\-p\fR \fIprefix\-uri\fR
.RS 4
Specify the CCNx URI representing the prefix of the information which the Sync agents are exchanging\&.
.RE
.PP
\fB\-f\fR \fIfilter\-uri\fR
.RS 4
This option may occur multiple times\&. Order is significant and should match the order used when the Sync configuration slice was defined\&. Provides zero or more CCNx URIs representing filter clauses, see
\fBccnsyncslice\fR(1) for further information\&.
.RE
.PP
\fB\-r\fR \fIroothash\-hex\fR
.RS 4
If present, indicates that the differences noted should be from the current root hash (\fIroothash\-hex\fR
is the empty string) or a particular root hash (an even number of hex digits) previously noted in a Sync exchange\&. It is an error to provide a root hash that is not a valid hash for the slice being monitored\&.
.RE
.PP
\fB\-w\fR \fItimeout\-secs\fR
.RS 4
The time in seconds that sync activity should be monitored, or \-1 to run until interrupted\&.
.RE
.SH "SEE ALSO"
.sp
\fBccnsyncslice\fR(1)
.SH "AUTHOR"
.sp
Nick Briggs
